Platform Explorer / Nuxeo Platform 6.0

Extension point hibernate

Documentation

This service uses hibernate as JPA provider. This extension point lets you override the default hibernate configuration.

Contribution Descriptors

  • Class: org.nuxeo.ecm.core.persistence.HibernateConfiguration

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-placeful-core-6.0.jar
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="nxplaceful">
          <datasource>placeful_service_ds</datasource>
          <properties>
                 <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>
  • nuxeo-platform-audit-core-6.0.jar
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="nxaudit-logs">
          <datasource>nxaudit-logs</datasource>
          <properties>
            <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>
  • nuxeo-platform-uidgen-core-6.0.jar
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
            <hibernateConfiguration name="NXUIDSequencer">
                <datasource>nxuidsequencer</datasource>
                <properties>
                          <property name="hibernate.hbm2ddl.auto">update</property>
                </properties>
            </hibernateConfiguration>
      </extension>